package com.yjn.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yjn.mapper.UserMapper;
import com.yjn.pojo.User;
import com.yjn.service.UserService;
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService{


    @Resource
    private UserMapper userMapper;


    @Override
    public User getByIdXml(Long id) {
        User byIdXml = userMapper.getByIdXml(id);
        return byIdXml;
    }


    @Override
    public User getByIdAnno(Long id) {
        User byIdXml = userMapper.getByIdAnno(id);
        return byIdXml;
    }
}
